package com.yongbao.common;

import java.util.Locale;

/**
 * @author zhanghong
 */
public class Constants {

    /**
     * sessionId
     */
    public static final String SESSIONID = "sessionid";
    /**
     * user session
     */
    public static final String LOGIN_USER = "login_user";
    /**
     * default local
     */
    public static Locale DEFAULT_LOCAL = Locale.US;

    /** token */
    public static final String TOKEN = "token";
    /** admin session */
    public static final String LOGIN_ADMIN = "login_admin";
    /** user rdb */
    public static final String LOGIN_USER_RDB_PREFIX = "yongbao:user:token:%s";
    /** 端 */
    public static final String TERMINAL = "terminal";

    public static final String MAIN_ORDER = "order";
}
